package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 寄件申请对象 erp_sending
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class ErpSending extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 寄件编码 */
    @Excel(name = "寄件编码")
    private String sendId;

    /** 出库编码 */
    @Excel(name = "出库编码")
    private String outboundId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 申请寄件 */
    @Excel(name = "申请寄件")
    private Long sendStatus;

    /** 寄件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "寄件时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /** 寄件人 */
    @Excel(name = "寄件人")
    private String loginAccount;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSendId(String sendId) 
    {
        this.sendId = sendId;
    }

    public String getSendId() 
    {
        return sendId;
    }
    public void setOutboundId(String outboundId) 
    {
        this.outboundId = outboundId;
    }

    public String getOutboundId() 
    {
        return outboundId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setSendStatus(Long sendStatus) 
    {
        this.sendStatus = sendStatus;
    }

    public Long getSendStatus() 
    {
        return sendStatus;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }
    public void setLoginAccount(String loginAccount) 
    {
        this.loginAccount = loginAccount;
    }

    public String getLoginAccount() 
    {
        return loginAccount;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendId", getSendId())
            .append("outboundId", getOutboundId())
            .append("orderNumber", getOrderNumber())
            .append("sendStatus", getSendStatus())
            .append("sendTime", getSendTime())
            .append("loginAccount", getLoginAccount())
            .append("userName", getUserName())
            .toString();
    }
}
